<template>
  <swiper :list="banners">
    <swiper-item v-for="banner in list" :key="banner.id">
      <img :src="banner.image" alt="" />
    </swiper-item>
  </swiper>
</template>

<script setup>
import swiper from "@/components/swiper/swiper.vue";
import swiperItem from "@/components/swiper/swiper-item.vue";
defineProps(["list"]);
</script>
